package com.hx.springboot1.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * Author: hx
 * Date: 2021-05-24 16/50
 * Description: Nothing else
 */
@Mapper
@Repository
public interface TeachDao {
    @Delete("delete from tab_teach where course_id = #{courseId}")
    int delTeachByCourseId(int courseId);
}
